Special handling of the `custom-enabled-themes' custom variable.
authorChong Yidong <cyd@stupidchicken.com>
Tue, 22 Mar 2011 00:30:23 +0000 (20:30 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 22 Mar 2011 00:30:23 +0000 (20:30 -0400)
commit59a3db43d55736523938cc94748f37216d4fe7b6
tree3a4299d8ef9a73973d104d2649d3fcc4d34ff2c0
parentdb39e8267a85fdd896d0bbf5a3608a955a48705c
Special handling of the `custom-enabled-themes' custom variable.

* lisp/custom.el (custom--inhibit-theme-enable): Make it affect only
custom-theme-set-variables and custom-theme-set-faces.
(provide-theme): Ignore custom--inhibit-theme-enable.
(load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
(custom-enabling-themes): Delete variable.
(enable-theme): Accept only loaded themes as arguments.  Ignore
the special custom-enabled-themes variable.
(custom-enabled-themes): Forbid themes from setting this.
Eliminate use of custom-enabling-themes.
(custom-push-theme): Quote "changed" custom var entry.
lisp/ChangeLog
lisp/custom.el